package com.testpro.DesignPattern.TemplateMethodPattern;

public class FiveStarDrivingSchoolTemplate extends abstractDrivingLicense {

   private Boolean isok=false;

    @Override
    protected boolean isOK() {
        return this.isok;
    }

    @Override
    protected void getLicense() {

        System.out.println("恭喜您已经获取到五星神车驾照 可使用任意战斗机型号");
    }

    @Override
    protected void Examination() {
        System.out.println("恭喜您已经考试通过");
    }

    @Override
    protected void Study() {
        System.out.println("恭喜您已经学习通过");

    }

    @Override
    protected void Pay() {
        System.out.println("恭喜您已经成功付款");

    }

    @Override
    protected void physicalexamination() {
        System.out.println("恭喜您已经体检通过");

    }

    @Override
    protected void signup() {
        System.out.println("恭喜您已经报名通过");

    }

    public void setIsok(Boolean isok) {
        this.isok = isok;
    }
}
